<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no,minimal-ui">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>在线HTTP接口测试工具 - Getman</title>
    <meta name="keywords" content="Getman,Postman,HTTP,Request,Curl,API,GET,POST,PUT,PATCH,DELETE,RESTful,JSON,XML,接口,在线,网页,测试,User-Agent,Cookie,Header,Android,iOS,OAuth" />
    <meta name="description" content="API接口请求模拟测试工具,支持跨域本地接口,Postman网页版,在线Curl,自定义Header JSON接口调试 User-Agent Cookie,HTTP Request,GET POST PUT PATCH DELETE RESTful XML Android iOS OAuth" />
    <meta name="csrf-token" content="EbZTCQfpjQFDFDXyUNkmOxuCF9sY6QnX6imln3JH">
    <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.0/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://getman.cn/css/style.css?v=1" />
    <link rel="shortcut icon" href=" https://getman.cn/img/icon.png" type="image/png" />
    <link rel="apple-touch-icon" href="https://getman.cn/img/apple-touch-icon.png" />
    
<script src="//cdn.bootcss.com/jquery/1.11.1/jquery.min.js"></script>
<script src="//cdn.bootcss.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="https://getman.cn/js/common.js?v=1"></script>
<script src="https://getman.cn/js/run_prettify.js?v=6"></script>
<script src="https://getman.cn/js/main.js?v=6"></script>
</head>
<body>






<nav class="navbar navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse">
                <span class="sr-only"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="../">Getman</a>
        </div>
        <div class="collapse navbar-collapse" id="navbar-collapse">
            <ul class="nav navbar-nav">
                <li><a href="/md">技术文档</a></li>
                <li><a href="/">HTTP请求工具</a></li>
                <li><a href="/regex">正则表达式测试</a></li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#" id="feedback">反馈</a></li>
                <!-- Authentication Links -->
                                    
                            </ul>
        </div>
    </div>
</nav>    <div class="container">
        <div id="alert"></div>
        <div class="input-group input-group-lg">
            <div class="input-group-btn">
                <button type="button" id="btn_send_type" class="btn btn-default" title="Remote"><span id="ico_send_type"
                                                                                                      class="glyphicon glyphicon-cloud"></span>
                </button>
                <button id="btn_method" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <span id="txt_method">GET</span> <span class="caret"></span></button>
                <ul id="method_menu" class="dropdown-menu" role="menu">
                    <li><a href="javascript:void(0)" class="method">GET</a></li>
                    <li><a href="javascript:void(0)" class="method">POST</a></li>
                    <li><a href="javascript:void(0)" class="method">PUT</a></li>
                    <li><a href="javascript:void(0)" class="method">PATCH</a></li>
                    <li><a href="javascript:void(0)" class="method">DELETE</a></li>
                </ul>
            </div>
            <!-- /btn-group -->
            <input id="txt_url" type="text" class="form-control" placeholder="https://getman.cn/echo" value="">
            <span class="input-group-btn">
                <button id="btn_send" class="btn btn-primary" type="button"><span
                            class="glyphicon glyphicon-arrow-right"></span></button>
            </span>
        </div>
        <!-- /input-group -->
        <h3>Request</h3>
        <div id="request">
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" class="active" id="btn_request_body"><a href="javascript:void(0)">Body</a></li>
                <li role="presentation" id="btn_request_header"><a href="javascript:void(0)">Header</a></li>
                <li role="presentation" class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)" aria-expanded="false"><span
                                id="txt_content_type">Content-Type</span> <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="javascript:void(0)" class="content_type">application/xml</a></li>
                        <li><a href="javascript:void(0)" class="content_type">application/json</a></li>
                        <li><a href="javascript:void(0)" class="content_type">multipart/form-data</a></li>
                        <li><a href="javascript:void(0)" class="content_type">application/x-www-form-urlencoded</a></li>
                    </ul>
                </li>
                <li role="presentation" class="pull-right" style="display: none">
                    <a id="btn_share" href="javascript:void(0)" title="Share"><span class="glyphicon glyphicon-share-alt"></span></a>
                </li>
            </ul>
            <textarea id="txt_request_body" class="form-control request_text"
                      placeholder="key1: value1 &#13;&#10;key2: value2 &#13;&#10;"></textarea>
            <textarea id="txt_request_header" class="form-control request_text"
                      placeholder="User-Agent: Mozilla/5.0 &#13;&#10;Cookie: key=value;"></textarea>
        </div>
        <h3>Response</h3>
        <div id="response">
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" class="active" id="btn_response_body"><a href="javascript:void(0)">Body</a></li>
                <li role="presentation" id="btn_response_header"><a href="javascript:void(0)">Header</a></li>
                <li role="presentation" id="btn_response_setcookie"><a href="javascript:void(0)">Set-Cookie</a></li>
                <li role="presentation" class="pull-right">
                    <a id="txt_status" href="javascript:void(0)" class="text-primary" title="Status"></a>
                </li>
            </ul>
            <pre id="txt_response_body" class="prettyprint response_text"></pre>
            <pre id="txt_response_header" class="prettyprint response_text"></pre>
        </div>
    </div>
</body>
</html>